-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(engine) Make sub-parts of Quote
visited by visitors
#1206
Conversation
I succeeded in making a version that fixes the bug for F*. But I am not sure that it does the right thing for the generic printer (at least it builds correctly and doesn't break tests). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally, this looks good to me. Let's test on libcrux, and maybe you can resolve some of my comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, there's a few things to change, but that looks good :)
Thanks, everything should be good now! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, let's merge!
Fixes #1196
The investigation for #1196 revealed that subparts of
Quote
variant in the AST were ignored by visitors. The easiest way to change that is to use aquote_contents
ADT inside instead of an inlined polymorphic variants. This involves quite a few changes here and there.